package com.atguigu.mapper;

import com.atguigu.entity.PlatformPropertyKey;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * <p>
 * 属性表 Mapper 接口
 * </p>
 *
 * @author linjiang
 * @since 2022-07-20
 */
public interface PlatformPropertyKeyMapper extends BaseMapper<PlatformPropertyKey> {

    List<PlatformPropertyKey> getPlatformPropertyByCategoryId(@Param("baseCategory1") Long baseCategory1,
                                                              @Param("baseCategory2") Long baseCategory2,
                                                              @Param("baseCategory3") Long baseCategory3);

    List<PlatformPropertyKey> getPlatformPropertyBySkuId(Long skuId);
}
